package com.hp.bon.sgw.wh.bean;

import java.util.List;

public class QueryRatableforUserResponse {
	public String ServiceResultCode;//业务级的结果代码
	public String ParaFieldResult;//错误信息 ，对业务校验错，填出出错的原始avp信息。格式：avp code：alue
	public List<ProductOFFinfo> ProductOFFinfos;//套餐信息组
	
	
	
	public String getServiceResultCode() {
		return ServiceResultCode;
	}



	public void setServiceResultCode(String serviceResultCode) {
		ServiceResultCode = serviceResultCode;
	}



	public String getParaFieldResult() {
		return ParaFieldResult;
	}



	public void setParaFieldResult(String paraFieldResult) {
		ParaFieldResult = paraFieldResult;
	}






	public List<ProductOFFinfo> getProductOFFinfos() {
		return ProductOFFinfos;
	}



	public void setProductOFFinfos(List<ProductOFFinfo> productOFFinfos) {
		ProductOFFinfos = productOFFinfos;
	}






	public static class ProductOFFinfo{
		public String ProductOfferId;//查询销售品标识
		public String ProductOFFName; //套餐名称
		public String OfferType;//销售品类型：16 – 套餐外		19 – 其他		21 - 主套餐 		22 - 叠加包 		23 - 定向包 		24 - 优惠赠送
		public String ProdOfferInstanceId; //销售品实例标识
		public List<RespondRatableQuery> RespondRatableQuerys;//累积量查询信息组
		
		
		
		public String getProductOfferId() {
			return ProductOfferId;
		}



		public void setProductOfferId(String productOfferId) {
			ProductOfferId = productOfferId;
		}



		public String getProductOFFName() {
			return ProductOFFName;
		}



		public void setProductOFFName(String productOFFName) {
			ProductOFFName = productOFFName;
		}



		public String getOfferType() {
			return OfferType;
		}



		public void setOfferType(String offerType) {
			OfferType = offerType;
		}



		public String getProdOfferInstanceId() {
			return ProdOfferInstanceId;
		}



		public void setProdOfferInstanceId(String prodOfferInstanceId) {
			ProdOfferInstanceId = prodOfferInstanceId;
		}





		public List<RespondRatableQuery> getRespondRatableQuerys() {
			return RespondRatableQuerys;
		}



		public void setRespondRatableQuerys(List<RespondRatableQuery> respondRatableQuerys) {
			RespondRatableQuerys = respondRatableQuerys;
		}





		public static class RespondRatableQuery{
			public String OwnerType;//积量属主类型
			public String OwnerID; //积量属主标识
			public Long RatableResourceID;//积量类型
			public String RatableResourcename; //积量名称（需要说明积量的性质）
			public String BeginTime; //累计周期开始时间
			public String EndTime; //累计周期结束时间
			public Long RatableAmount; //总额
			public Long BalanceAmount; //余额
			public Long UsageAmount; //已使用量（当为全局累计量时，标示总使用量）
			public String UnitTypeId;//积量的单位类型：0 – 分（金额），1 – 分钟（时长），2 – 次数，3 – 流量（KB）
			public String getOwnerType() {
				return OwnerType;
			}
			public void setOwnerType(String ownerType) {
				OwnerType = ownerType;
			}
			public String getOwnerID() {
				return OwnerID;
			}
			public void setOwnerID(String ownerID) {
				OwnerID = ownerID;
			}
			public Long getRatableResourceID() {
				return RatableResourceID;
			}
			public void setRatableResourceID(Long ratableResourceID) {
				RatableResourceID = ratableResourceID;
			}
			public String getRatableResourcename() {
				return RatableResourcename;
			}
			public void setRatableResourcename(String ratableResourcename) {
				RatableResourcename = ratableResourcename;
			}
			public String getBeginTime() {
				return BeginTime;
			}
			public void setBeginTime(String beginTime) {
				BeginTime = beginTime;
			}
			public String getEndTime() {
				return EndTime;
			}
			public void setEndTime(String endTime) {
				EndTime = endTime;
			}
			public Long getRatableAmount() {
				return RatableAmount;
			}
			public void setRatableAmount(Long ratableAmount) {
				RatableAmount = ratableAmount;
			}
			public Long getBalanceAmount() {
				return BalanceAmount;
			}
			public void setBalanceAmount(Long balanceAmount) {
				BalanceAmount = balanceAmount;
			}
			public Long getUsageAmount() {
				return UsageAmount;
			}
			public void setUsageAmount(Long usageAmount) {
				UsageAmount = usageAmount;
			}
			public String getUnitTypeId() {
				return UnitTypeId;
			}
			public void setUnitTypeId(String unitTypeId) {
				UnitTypeId = unitTypeId;
			} 
			
			
		}
	}
}
